﻿using FluentNHibernate.Mapping;
using Kratos.Framework.ContentManagement.Models.Order;

namespace Kratos.Framework.ContentManagement.Maps.Order
{
    public class ProductMap : ClassMap<Product>
    {
        public ProductMap()
        {
            Id(m => m.ProductId).GeneratedBy.Identity();

            Map(m => m.ProductName);

            Map(m => m.Price);
        }
    }
}
